<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="../../resources/common/page/sessionovertime.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>系统管理</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">
    <script type="text/javascript" src="<%=basePath%>resources/common/viewHistory.js"></script>
    <script type="text/javascript" src="system.js"></script>
  </head>
  <body class="easyui-layout">
  	<div id="toolbar" style="height:auto;">
  		<table  style="line-height:80px;">
		  	<tr align="left">
		  		<td width="100" align="right">系统名称:</td>
		  		<td width="100" align="left"><input class="easyui-textbox" value="" id="systemName" data-options="prompt:'模糊查询'"/></td>
		  		<td width="100" align="right">系统编码:</td>
		  		<td width="100" align="left"><input class="easyui-textbox" value="" id="systemCode" data-options="prompt:'模糊查询'"/></td>
		  	</tr>
		</table>
		<div style="margin-left:-2px;margin-right:-2px;" class="toolbuttonbg">
	        <a href="javaScript:openDialog_add();" name="system_add" style="float:left;" class="easyui-linkbutton" iconCls="icon-add" plain="true">添加</a>
	        <div class="datagrid-btn-separator"></div>
	        <a href="javaScript:openDialog_edit();" name="system_editor" style="float:left;" class="easyui-linkbutton" iconCls="icon-edit" plain="true">编辑</a>
	        <div class="datagrid-btn-separator"></div>
	        <a href="javaScript:delSystem();" name="system_delete" style="float:left;" class="easyui-linkbutton" iconCls="icon-cancel" plain="true">删除</a>
	        <div class="datagrid-btn-separator"></div>
	        <a href="javaScript:viewHistory('sys_system', 'systemId');" name="system_viewhistory" style="float:left;" class="easyui-linkbutton" iconCls="icon-viewsdetail" plain="true">操作日志</a>
	        <div class="datagrid-btn-separator"></div>
	        <a href="javaScript:reloadSystem();" name="system_refresh" style="float:left;" class="easyui-linkbutton" iconCls="icon-reload" plain="true">刷新</a>
	        <div class="datagrid-btn-separator"></div>
	        <a href="javascript:querySystem();" name="system_query" class="easyui-linkbutton" iconCls="icon-search" plain="true">查询</a>
	    </div>
	</div>  
    <!-- 表格 -->
    <table id="dataGridTable" fit="true"  pagination="true" rownumbers="true" toolbar="#toolbar" singleSelect="true" fitColumns="false" striped="true" url="sys/findSystem.action"></table> 
	
	<!-- 编辑/新增系统-->
	<div id="systemInfoDialog" iconCls="icon-save" style="width:400px;height:200px;">
		<div class="easyui-layout" fit="true">
		  	<div region="center" border="false" style="padding-top:20px;padding-left:20px;">
		    	<table class="fullTable">
		    		<tr>
		          		<td class="tr">系统名称：</td>
		          		<td>
		          		<input type="text" size="40"  class="easyui-textbox" id="systemInfoDialog_systemName" maxlength="40" data-options="required:true,missingMessage:'该输入项为必输项'">
		        	</tr>
		        	<tr>
		          		<td class="tr">系统编码：</td>
		          		<td>
		          		<input type="text" size="40"  class="easyui-textbox" id="systemInfoDialog_systemCode" maxlength="40" data-options="required:true,missingMessage:'该输入项为必输项'">
		          		<input type="hidden" id="systemInfoDialog_systemId">
		        	</tr>
		  		</table>
		    </div>
	 	</div>
	 </div>
	 <%@ include file="../../resources/common/page/viewHistory.jsp"%>
  </body>
</html>
<%@ include file="../../resources/common/page/button.jsp"%>